<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script>
</head>

<div class="root">
    <div>你好，{{name}}</div>
    <div v-test="name">你好，</div>
</div>
<body>
    

    <script>
        new Vue({
            el:".root",
            data:{
                name:"张三",
            }
        })
    </script>
</body>
</html>